﻿using System.Collections.Generic;
using System.Linq;
using ZBJF.Warranty.Model;
using ZBJF.Warranty.Model.ViewModel.BaseQueryModel;
using ZBJF.Warranty.Model.ViewModel.InfoCollect;

namespace ZBJF.Warranty.IBLL
{
    public partial interface IInsuranceProductsInfoCollectItemMappingsService
    {
        InsuranceProductsInfoCollectItemMappings LoadByID(int id);
        /// <summary>
        /// 根据保险信息IDs获取资料收集项
        /// </summary>
        /// <param name="cellPhoneServiceProjectIDs">服务项目IDs</param>
        /// <param name="infoCollectWith">信息收集方</param>
        /// <returns></returns>
        List<InsuranceProductInfoCollectItemSnapshoot> LoadInfoCollectItems(List<int> cellPhoneServiceProjectIDs, byte infoCollectWith = 0);
        bool Delete(int id);
        IQueryable<InsuranceProductsInfoCollectItemMappings> GetPagingList(InsuranceProductsInfoCollectItemMappingsModel model, out int total);
    }
}